<template>
	<view class="content">
		<view class="content-view">
			<view class="title">
				<text></text>
				{{title}}
			</view>
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			title:{
				type:String,
				default:'核心业务',
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		margin: 22rpx 25rpx  0 25rpx;
		.content-view{
			text{
				position: relative;
				margin-right: 10rpx;
				padding-right: 12rpx;
				&:after{
					top: 50%;
					transform: translateY(-50%);
					position: absolute;
					content: '';
					width: 6rpx;
					height: 32rpx;
					background: #4F73FE;
				}
			}
			.title{
				width: auto;
				height: 32rpx;
				font-size: 34rpx;
				font-family: PingFang;
				font-weight: bold;
				color: #333333;
				line-height: 1;
			}
		}
	}
</style>
